
public class Main {

    public static void main(String[] args) {
        Task task = new Task();
        Thread thread = new Thread(task);
        thread.setName("fuck");
        thread.setUncaughtExceptionHandler(new ExcpetionHandler());
        thread.start();

    }

}
